﻿using System.ServiceModel;

namespace Coding4Fun.Cannon.Wcf
{
	// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IDriveService" in both code and config file together.
	[ServiceContract]
	public interface IDriveService
	{
		[OperationContractAttribute(IsOneWay = true)]
		void Stop();

		[OperationContractAttribute(IsOneWay = true)]
		void SetPower(int power);

		[OperationContractAttribute(IsOneWay = true)]
		void SetPowerByMotor(int leftPower, int rightPower);
	}
}
